package com.topgay.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.topgay.dao.ReplyDAO;
import com.topgay.domain.Reply;
import com.topgay.util.BoardUtilities;

@Service
public class ReplyServiceImpl implements ReplyService{

	@Autowired
	private ReplyDAO replyDAO;

	@Override
	public List<Reply> getReplyList(int page, int divide) {
		return null;
	}

	@Override
	public int getReplyTotalContent(int divide) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void writeReplyContent(Reply reply) {
		String content = BoardUtilities.changeContentForDB(reply.getContent());
		reply.setContent(content);
	}

	@Override
	public void modifyReplyContent(Reply reply) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void deleteReplyContentByNo(int replyNo) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public int getMaxReplyDivideNo(int divide) {
		// TODO Auto-generated method stub
		return 0;
	}
	
}
